how to check memory leak in java spring boot